package com.atguigu.edusta.client.impl;

import com.atguigu.edusta.client.UcenterClient;
import com.atguigu.servicebase.exceptionhandler.SelfExceptionHandler;
import org.springframework.stereotype.Component;

@Component
public class UcenterFeign implements UcenterClient {


    @Override
    public int getMemberCount(String day) {
        System.out.println("远程调用失败，每天登录数未获取到");
        throw new SelfExceptionHandler("调用失败",20001);
    }
}
